package com.cleaningcloud.erp.domain;

import java.math.BigDecimal;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 销售明细对象 erp_sale_details
 * 
 * @author cleaningcloud
 * @date 2024-10-02
 */

@EqualsAndHashCode(callSuper = true)
@Data
public class ErpSaleDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 销售明细ID */
    private Long saleDetailsId;

    /** 销售ID */
    @Excel(name = "销售ID")
    private Long saleId;

    /** 销售单号 */
    @Excel(name = "销售单号")
    private String saleOdd;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long wareId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long commodityId;

    /** 商品ID */
    @Excel(name = "商品单位ID")
    private Long commodityUnitId;


    /** 销售单价 */
    @Excel(name = "销售单价")
    private BigDecimal salePrice;

    /** 销售数量 */
    @Excel(name = "销售数量")
    private int saleNumber;

    /** 折扣率 */
    @Excel(name = "折扣率")
    private double saleRate;

    /** 销售小计 */
    @Excel(name = "销售小计")
    private BigDecimal subtotal;

    /** 备注 */
    @Excel(name = "备注")
    private String detailsRemark;

    private Long outWareId;
}
